{assign var=id value=$row.ublastid}
<div class="statusItems{if $AppUI->id == 0 && $i==0 && $intLs == 1} noBorderTop{/if}" {if $AppUI->id > 0 && $objUser->id > 0 && ($AppUI->id == $row.posterid || $AppUI->id == $objUser->id)}onmouseover="javascript:onMouseOverForUblast({$id});" onmouseout="javascript:onMouseOutForUblast({$id});"{/if}>
    {image userid=$row.posterid viewid=$AppUI->id type=1 small=2 class="border50 lFloat"}                                         	
    <div class="statusContent">
        <div class="lFloat" style="padding-bottom:5px;">
        	{if $AppUI->id > 0}
            	{if $AppUI->id > 0 && $objUser->id > 0 && ($AppUI->id == $row.posterid || $AppUI->id == $objUser->id)}<div class="uBlast" id="uBlast{$id}"><a href="javascript:deleteUblast({$id},{$intPage},{$intLs});">Xóa</a></div>{elseif $row.statuses != 1}<div class="uBlast" id="uBlast{$id}"><a href="javascript:report(0,{$id},8);">Báo vi phạm</a></div>{/if}
            {/if}
            <div class="stat">
                <h4>
                	<a href="{vfriend_username userid=$row.posterid viewid=$AppUI->id}">{$row.posterid|ouser:"fullnamevn"}</a>
                    <span class="iTime">{$row.postdate|convert_date}</span>
               	</h4>
            </div>                                               
            <div class="content">
            	<p>{$row.content|str_emoticon}</p>
                <div class="cstat">
            	 	<ul>
                        <li>
                            <span class="sLike">
                                <a href="javascript:;" onclick="javascript:likeUblast({$id})">Thích</a> (<span id="uBlastLike{$id}">{$row.tlike|number_format:"0":",":"."}</span>)
                            </span>
                        </li>
                        {if $AppUI->id > 0 && ( ($row.posterid == $row.userid) || ($row.posterid != $row.userid && $AppUI->id > 0 && ($AppUI->id == $row.posterid || $AppUI->id == $row.userid)))}
                            <li>
                                <span class="sCmt">
                                    <a href="javascript:;" onclick="javascript:cmtFocus('{$arrDefault.stt_reply}','pcontent{$id}','{$arrDefault.stt_reply}');">Bình luận</a> (<span id="uBlastCmt{$id}">{$row.tcmt|number_format:"0":",":"."}</span>)
                                </span>
                            </li>
                        {/if}
                	</ul>
            	</div>
          	</div>
        </div>  
        {if ($row.posterid == $row.userid) || ($row.posterid != $row.userid && $AppUI->id > 0 && ($AppUI->id == $row.posterid || $AppUI->id == $row.userid))}
            <div class="subList">
                <div class="subContent" id="{if $intLs == 1}subContent{$id}{elseif $intLs == 2}subContent{/if}" {if $row.tcmt == 0}style="display:none;"{/if}>
                    {include file="fullhouse/box-ublast-comment.tpl"}
                </div>   
                {if $AppUI->id > 0}                                                                                                 
                    <form name="frmReply{$id}" method="post" action="" onsubmit="return postReply('{$arrDefault.stt_reply}',{$id},{$intLs});">                   	
                        <a name="reply{$id}"></a>
                        {comment name="pcontent$id" default=$arrDefault.stt_reply}
                    </form>
                {/if}
            </div>
        {/if}
    </div>
</div>